package com.itheima.springbootquickstart.mapper;

import com.itheima.springbootquickstart.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * UserMapper
 *
 * @author zhaokf
 * @date 2024/11/12
 */
@Mapper
public interface UserMapper {
    @Select("select * from user where id = #{id}")
    User findById(Long id);
}
